
import java.awt.image.BufferedImage;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author whitscot
 */
public class ItemArmour extends Item {

    int protection;
    int type;//the id of the location on body
    ItemArmour() {
        super();
        protection = 0;
    }

    ItemArmour(BufferedImage image, int x, int y, int protectionVal, int max, int type) {
        super(image, x, y, max);
        protection = protectionVal;
        this.type = type;
    }

    @Override
    boolean getHealing() {
        return false;
    }

    @Override
    boolean getDamage() {
        return false;
    }

    @Override
    boolean getArmour() {
        return true;
    }

    @Override
    int getType() {
       return type;
    }
}
